package com.ctshk.rpc.system.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.system.dto.MainDataCollectionPlaceDTO;
import com.ctshk.rpc.system.req.MainDataCollectionPlaceAddReq;
import com.ctshk.rpc.system.req.MainDataCollectionPlaceIdReq;
import com.ctshk.rpc.system.req.MainDataCollectionPlaceListReq;
import com.ctshk.rpc.system.req.MainDataCollectionPlaceUpdateReq;

import java.util.List;

/**
 * <p>
 * 集散地點 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-10
 */
public interface IMainDataCollectionPlaceService  {

    Result add(MainDataCollectionPlaceAddReq req, TokenUser tokenUser);

    MainDataCollectionPlaceDTO query(MainDataCollectionPlaceIdReq req);

    Result update(MainDataCollectionPlaceUpdateReq req, TokenUser tokenUser);

    PageResponse<MainDataCollectionPlaceDTO> list(MainDataCollectionPlaceListReq req);

    List<MainDataCollectionPlaceDTO> queryList(Long areaId);
}
